package com.five.welcome.dao;

import com.five.welcome.entity.Goodsget;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ywt
 * @since 2024-07-12
 */
@Mapper
public interface GoodsgetMapper extends BaseMapper<Goodsget> {

    @Insert("insert into goodsget (s_number, goods_number, amount) VALUES " +
            "(#{sNumber},'1001',1)")
    void addGoodsGet1(String sNumber);

    @Insert("insert into goodsget (s_number, goods_number, amount) VALUES " +
            "(#{sNumber},'1002',1)")
    void addGoodsGet2(String sNumber);
}
